package com.triumphxx.readingreminderbackend.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author:triumphxx
 * @Date: 2025/11/20
 * @Time: 17:15
 * @微信公众号：思考集结处
 * @网站：http://blog.triumphxx.com.cn
 * @GitHub https://github.com/triumphxx
 * @Desc: 笔记请求信息
 **/

@Data
public class NoteRequest {
    private Long id;
    @NotBlank(message = "标题不能为空")
    private String title;

    @NotBlank(message = "语雀链接不能为空")
    private String yuqueUrl;

    private String content;

    @NotBlank(message = "创建时间不能为空")
    private String createdAt;

    private String folder;
}